<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            display: flex;
            justify-content: center;
        }
        table,th,td {
            border: 1.5px solid;
            border-collapse: collapse;
        }
        #keyword{
            width: 250px;
        }
    </style>
</head>
<body>
    <div>
        <div>
            <input type="text" id="keyword" placeholder="查找博客标题、摘要、内容、分类、作者">
            <input type="button" value="查找" onclick="query()">
            <input type="button" value="添加" onclick="add()" style="float: right;">
        </div>
        <div style="margin-top: 5px;">
            <table id="tbData">
                <tr>
                    <th>Id</th>
                    <th>标题</th>
                    <th>摘要</th>
                    <th>内容</th>
                    <th>分类</th>
                    <th>作者</th>
                    <th>发表时间</th>
                    <th>操作</th>
                </tr>
            </table>
        </div>
    </div>
    <script src="./js/jquery-3.6.0.min.js"></script>
    <script src="./js/init.js"></script>
</body>
</html>